package com.bawei.module_video_hall

import android.util.SparseArray
import android.view.View
import androidx.recyclerview.widget.RecyclerView

/**
 *@author：lxy
 *@decription:自定义缓存池，用稀疏数组实现
 *@time：2025/6/26
 */
class VideoItemCache constructor(private val recyclerView: RecyclerView):RecyclerView.ViewCacheExtension() {

    private val cacheViews = SparseArray<RecyclerView.ViewHolder>()

    override fun getViewForPositionAndType(
        recycler: RecyclerView.Recycler,
        position: Int,
        type: Int
    ): View? {
        return null
    }
}